package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
*  实体类
*
* @author wenzhao.lin
* @date 2021-08-26
*/
@Data
@DbTable(tableName = "t_park_file")
public class ParkFile extends BaseEntity {

    @ApiModelProperty(value = "t_park.c_id")
    @DbTableField(columnName = "c_main_id", dbType = DbTypeEnum.INTEGER)
    private Integer mainId;

    @ApiModelProperty(value = "文件ID")
    @DbTableField(columnName = "c_file_id", dbType = DbTypeEnum.VARCHAR)
    private String fileId;

    @ApiModelProperty(value = "文件名称")
    @DbTableField(columnName = "c_file_name", dbType = DbTypeEnum.VARCHAR)
    private String fileName;

    @ApiModelProperty(value = "文件类型")
    @DbTableField(columnName = "c_file_type_id", dbType = DbTypeEnum.INTEGER)
    private Integer fileTypeId;

    @ApiModelProperty(value = "文件后缀")
    @DbTableField(columnName = "c_file_type", dbType = DbTypeEnum.VARCHAR)
    private String fileType;

    @ApiModelProperty(value = "数据类型。")
    @DbTableField(columnName = "c_date_type", dbType = DbTypeEnum.INTEGER)
    private Integer dateType;

}
